package com.gy.api.pc.filings.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


@Data
@EqualsAndHashCode(callSuper = false)
public class ScriptRecordSearchVO implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "年月  格式保证yyyy-MM")
    private String time;

    @ApiModelProperty(value = "片名")
    private String movieName;

    @ApiModelProperty(value = "备案编号")
    private String recordNum;


    @ApiModelProperty(value = "类型（电影、电视剧、网络影视、网络微短剧）")
    private String type;
    @ApiModelProperty(value = "备案单位")
    private String unit;

    @ApiModelProperty(value = "开始时间(yyyy-MM-dd hh:mm:ss)")
    private String startTime;
    @ApiModelProperty(value = "结束时间(yyyy-MM-dd hh:mm:ss)")
    private String endTime;


    @ApiModelProperty(value = "页数")
    private Integer pageNum;

    @ApiModelProperty(value = "每页行数")
    private Integer pageSize;


    public Integer getPageNum() {
        if (pageNum == null) {
            pageNum = 1;
        }
        return pageNum;
    }

    public Integer getPageSize() {
        if (pageSize == null) {
            pageSize = 1000;
        }
        return pageSize;
    }

}
